package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter@Setter
public class SystemLog {
    private Long id;
    //访问人
    private Long opuserId;
    private String opuserName;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date optime;
    //ip地址
    private String opip;
    //访问方法
    private String function;
    //访问参数
    private String params;


}